import request from '@/utils/request'

// 列表
export function getInsuranceWorkList(query) {
  return request({
    url: '/car/carWorkOrder/getInsuranceWorkList',
    method: 'get',
    params: query
  })
}

//新增批量
export function newAddInsuranceList(data) {
  return request({
    url: '/car/insurance/addBatchList',
    method: 'post',
    data: data
  })
}


export function batchData(data) {
  return request({
    url: '/car/insurance/findBasicByIds',
    method: 'post',
    data: data
  })
}


export function getWorkDetails(id) {
  return request({
    url: '/car/insurance/getInfo/' + id,
    method: 'get'
  })
}

export function unifyCheck(data) {
  return request({
    url: '/car/carWorkOrder/check',
    method: 'post',
    data: data
  })
}
